	<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		 
			

  <meta name="twitter:card" content="summary" />
  
  
    <meta name="twitter:creator" content="@韩雨"/>
  
  <meta name="twitter:title" content="sam的小窝"/>
  <meta name="twitter:description" content="学习 &amp;nbsp;&amp;bull;&amp;nbsp; 生活"/>
  
    <meta name="twitter:image" content="https://www.samrainhan.com/images/avatar.png" />
  


		
		<meta name="author" content="韩雨">
		<meta name="description" content="学习 &amp;nbsp;&amp;bull;&amp;nbsp; 生活">
		<meta name="generator" content="Hugo 0.52" />
		<title>sam的小窝</title>
		<link rel="shortcut icon" href="https://www.samrainhan.com/images/favicon.ico">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/style.css">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/highlight.css">

		
		<link rel="stylesheet" href="https://www.samrainhan.com/css/font-awesome.min.css">
		

		
		<link href="https://www.samrainhan.com/index.xml" rel="alternate" type="application/rss+xml" title="sam的小窝" />
		

		
	</head>

	<body>
    <nav class="main-nav">
	
	
	<a href='https://www.samrainhan.com/posts'>Archive</a>
	<a href='https://www.samrainhan.com/tags'>Tags</a>
	<a href='https://www.samrainhan.com/about'>About</a>

	

	
	<a class="cta" href="https://www.samrainhan.com/index.xml">Subscribe</a>
	
</nav>


    <div class="profile">
    <section id="wrapper">
        <header id="header">
            <a href='https://www.samrainhan.com/about'>
                <img id="avatar" class="2x" src="https://www.samrainhan.com/images/avatar.png"/>
            </a>
            <h1>sam的小窝</h1>
            <h2>学习 &amp; 生活</h2>
        </header>
    </section>
</div>


    <section id="wrapper" class="home">
        <ul id="post-list">
    
    
        
            <li>
                <aside class="dates">Sep 12</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-12-resize-your-windows-to-the-golden-ratio-in-emacs/'>
                    在Emacs中按照黄金分割比例调整屏幕
                    
                        
                            <h2>after install golden ratio package,let’s add it: (use-package golden-ratio :ensure t :diminish golden-ratio-mode :init (golden-ratio-mode 1))</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 12</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-12-what-is-bosun/'>
                    Bosun go编写的跨平台监控系统
                    
                        
                            <h2>http://localhost:8070/ http://bosun.org/scollector/ http://bosun.org/quickstart#scollector http://zhengheng.me/2015/12/09/bosun-install/ http://localhost:8070/hello world!</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-recursively-queries-a-file-in-a-directory-and-outputs-it-as-a-full-path/'>
                    递归查询某个目录下的某种文件并输出为全路径文件名
                    
                        
                            <h2>用管理员权限启动PowerShell，然后执行以下脚本： Get-ChildItem -Recurse *.dll -path c:\test|%{$_.FullName}</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-exclude-some-files-while-rsyncing/'>
                    在rsync时避免同步某些文件
                    
                        
                            <h2>list.exclude Config/dll.config Logger.config rsync4test.bat set PATH=%PATH%;C:\Program Files (x86)\cwRsync\bin\ rsync -azcP --compress-level=9 --protocol=29 --delete /cygdrive/c/test/ rsync://localhost:18731/test --exclude-from=list.exclude</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-update-stored-procedures/'>
                    更新SQLServer存储过程的脚本模版
                    
                        
                            <h2>`/****** Object: StoredProcedure [dbo].[存储过程名] Script Date: 2018-08-31 11:09 ******/` if exists (select top(1) id from sysobjects where id = object_id(N&#39;存储过程名&#39;) and OBJECTPROPERTY(id, N&#39;IsProcedure&#39;) = 1) DROP PROCEDURE [dbo].[存储过程名]</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-migrate-sqlserver-database/'>
                    如果用脚本迁移SQLServer数据库
                    
                        
                            <h2>迁移非系统数据库 use master go sp_detach_db &#39;非系统数据库&#39; go use master go sp_attach_db &#39;非系统数据库&#39;,&#39;C:\Sqldata\非系统数据库.mdf&#39;,&#39;C:\Sqldata\</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-switch-screen-between-black-and-white-and-color/'>
                    让您的屏幕在黑白和彩色之间自由切换
                    
                        
                            <h2>Ctrl &#43; WindowsKey &#43; C 可以让您的屏幕在黑白和彩色之间自由切换</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-list-to-go-abroad/'>
                    出国物品清单
                    
                        
                            <h2>牙刷（非电动）牙膏 牙套 酒精片 肥皂 香皂 洗手皂 卷筒纸 抽纸 湿纸巾 床单 睡袋 随身充电器 车载充电器 充电宝×2 随身听 书 画本 雨伞/雨披 防水鞋 毛线帽 手套 隐形眼</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 11</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-11-what-is-the-core-value-of-the-product-manager/'>
                    产品经理的核心价值是什么
                    
                        
                            <h2>发现用户的需求并定义客户价值，同时准确传递这个需求与价值给团队成员，并推动团队去很好的满足这个需求最终将价值传递出去。</h2>
                        
                    
                </a>
            </li>
        
    
    
        
            <li>
                <aside class="dates">Sep 10</aside>
                <a href='https://www.samrainhan.com/posts/2018-09-10-surface-crash-self-help/'>
                    surface死机自救法
                    
                        
                            <h2>一般导致Surface无法正常开机有以下的几点原因： Windows更新没有优化到最新版本 不正常关机（电量完全耗尽在充电、强制关机等） 系统性能</h2>
                        
                    
                </a>
            </li>
        
    
</ul>

        <nav id="post-nav">
    
        
        <span class="prev">
            <a href="/page/3/">
                <span class="arrow">←</span> Newer Posts
            </a>
        </span>
        
        
        <span class="next">
            <a href="/page/5/">
                Older Posts <span class="arrow">→</span>
            </a>
        </span>
        
    
</nav>
        <footer id="footer">
    
        <div id="social">

	
	
    <a class="symbol" href="">
        <i class="fa fa-facebook-square"></i>
    </a>
    
    <a class="symbol" href="https://github.com/samrain">
        <i class="fa fa-github-square"></i>
    </a>
    
    <a class="symbol" href="">
        <i class="fa fa-twitter-square"></i>
    </a>
    


</div>

    
    <p class="small">
    
       © Copyright 2019 <i class="fa fa-heart" aria-hidden="true"></i> 韩雨
    
    </p>
    <p class="small">
        Powered by <a href="http://www.gohugo.io/">Hugo</a> Theme By <a href="https://github.com/nodejh/hugo-theme-cactus-plus">nodejh</a>
    </p>
</footer>

    </section>

    <script src="https://www.samrainhan.com/js/jquery-3.3.1.min.js"></script>
<script src="https://www.samrainhan.com/js/main.js"></script>
<script src="https://www.samrainhan.com/js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>




  
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
	ga('create', 'UA-37708730-1', 'auto');
	
	ga('send', 'pageview');
}
</script>





    </body>
</html>
